package com.peng.ivos.application.service;

import com.peng.ivos.application.pojo.dto.ApplicationQuery;
import com.peng.ivos.application.pojo.dto.ApplicationSaveParam;
import com.peng.ivos.base.response.JsonResult;

/**
 * @author： Peng
 * @date： 2024/5/24
 * @version: 1.0
 */
public interface ApplicationService {
    JsonResult addApplication(ApplicationSaveParam applicationSaveParam);

    JsonResult getApplicationList(ApplicationQuery applicationQuery);

    JsonResult cancelApplication(Long applicationId);

    JsonResult distributeVehicle(Long applicationId, Long vehicleId);

    JsonResult backVehicle(Long applicationId, Long vehicleId);
}
